package com.ygq.seckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ygq.seckill.entity.Order;
import com.ygq.seckill.entity.User;
import com.ygq.seckill.vo.GoodsVo;

public interface OrderService extends IService<Order> {
    //秒杀
    Order seckill(User user, GoodsVo goodsVo);

    String createPath(User user, Long goodsId);
    boolean checkPath(User user, Long goodsId, String path);
    boolean checkCaptcha(User user, Long goodsId, String captcha);
}